<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8" name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>定福黄庄北漂族的小窝</title>
    <link rel="stylesheet" href="css/bootstrap.css">
    <link rel="stylesheet" href="css/bootstrap.min-3.3.7-blue.css">
    <link rel="stylesheet" href="css/style.css">
    <style>
        html{
            height: 100%;
        }

        body{
            background: url("img/index_starMoon.jpg") 50% 50% no-repeat;
            background-size: cover;
            height: 100%;
        }
        #main{
            margin-top: 12em;
        }
        #main h1{

            color: rgba(255, 180, 0, 0.9);
        }
        #main p{
            margin-top: 1em;
            color: rgba(255,180,0,.8);
        }

        @media screen and (max-width: 600px){
            #main{
                margin-top: 4em;
            }
        }
        a:hover{
            color: #157ab5;
            text-decoration: underline;
        }
    </style>
</head>
<body id="index">
<!--导航-->
<nav class="navbar navbar-default">
    <!--小屏幕按钮和logo-->
    <div class="container">
        <div class="navbar-header">
            <button class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a href="index.html" class="navbar-brand">我们的小窝</a>
        </div>
        <!--小屏幕按钮和logo-->

        <div class="navbar-collapse collapse navbar-right">
            <ul class="nav navbar-nav">
                <li class="active"><a href="index.html"><span class="glyphicon glyphicon-home"></span>首页</a></li>
                <li><a href="articleList.html"><span class="glyphicon glyphicon-list-alt"></span>博文列表</a></li>
                <li><a href="chat.html"><span class="glyphicon glyphicon-heart"></span>聊天室</a></li>
                <li><a href="music.html"><span class="glyphicon glyphicon-music"></span>音乐天地</a></li>
                <li style="padding: 5px"><a style="padding: 0"><button id="loginBtn" class="btn btn-success"><span class="glyphicon glyphicon-user"></span>登录/注册</button></a></li>
                <!--登录后显示用户名-->
                <li class="hidden" class="btn-success"><a href="userData.html"><span class="glyphicon glyphicon-user"></span>张晓宇</a></li>
            </ul>
        </div>
    </div>
</nav>
<!--导航-->
<!--主体-->
<section id="main">
    <div class="container">
        <div class="row">
            <div class="col-md-6 col-md-offset-2">
                <h1>Welcom</h1>
                <p class="lead">我们的小窝，是一群曾经一起北漂的小伙伴们的web根据地，他们努力工作，热爱生活，喜欢音乐，偶尔也去爬山，放生……
                    虽然现在各自奔波，但每个人都相信，通过自己的努力可以改变生活，找到自己的幸福！</p>
            </div>
            <div class="col-md-4 col-md-offset-4 text-center">
                <a class="btn btn-primary" href="articleList.html">看看文章</a>
                <a class="btn btn-success" href="chat.html">聊聊天</a>
                <a class="btn btn-warning" href="music.html">欣赏音乐</a>
            </div>
        </div>
    </div>
</section>
<div id="bgMusic">
    <audio autoplay controls loop src="">
        <div class="alert alert-danger alert-dismissible" role="alert">
            <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
            <strong>您的浏览器不支持背景音乐播放，请升级浏览器！</strong>
        </div>
    </audio>
</div>
<footer id="footer" class="btn-primary">
    <div class="container-fluid">
        <div class="row">
            <div class="col-md-12">
                <p><span hidden class="d-md-inline">网站访问次数：<img style="position: relative;top:-.125rem" src="http://www.cutercounter.com/hits.php?id=geepfcxo&nd=6&style=4" alt="免费计数器"></span>
                    &emsp; © 2019 关中刀客在青岛 <a href="http://www.beian.miit.gov.cn" target="_blank" style="color: #fff;"> 鲁ICP备19013610号 </a>
            </div>
        </div>
    </div>
</footer>
<script src="js/jquery-2.2.4.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/main.js"></script>
<script>
    $(function () {
//        修复因设置body的padding造成的导航条下移
        $("body").css("padding",0)
    })

</script>

</body>
</html>